﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000669 RID: 1641
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetChallengeGroupStatisticsCsReq : IMessage<GetChallengeGroupStatisticsCsReq>, IMessage, IEquatable<GetChallengeGroupStatisticsCsReq>, IDeepCloneable<GetChallengeGroupStatisticsCsReq>, IBufferMessage
	{
		// Token: 0x1700153E RID: 5438
		// (get) Token: 0x06004A20 RID: 18976 RVA: 0x000CBF10 File Offset: 0x000CA110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetChallengeGroupStatisticsCsReq> Parser
		{
			get
			{
				return GetChallengeGroupStatisticsCsReq._parser;
			}
		}

		// Token: 0x1700153F RID: 5439
		// (get) Token: 0x06004A21 RID: 18977 RVA: 0x000CBF17 File Offset: 0x000CA117
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetChallengeGroupStatisticsCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001540 RID: 5440
		// (get) Token: 0x06004A22 RID: 18978 RVA: 0x000CBF29 File Offset: 0x000CA129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetChallengeGroupStatisticsCsReq.Descriptor;
			}
		}

		// Token: 0x06004A23 RID: 18979 RVA: 0x000CBF30 File Offset: 0x000CA130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChallengeGroupStatisticsCsReq()
		{
		}

		// Token: 0x06004A24 RID: 18980 RVA: 0x000CBF38 File Offset: 0x000CA138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChallengeGroupStatisticsCsReq(GetChallengeGroupStatisticsCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004A25 RID: 18981 RVA: 0x000CBF5D File Offset: 0x000CA15D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChallengeGroupStatisticsCsReq Clone()
		{
			return new GetChallengeGroupStatisticsCsReq(this);
		}

		// Token: 0x17001541 RID: 5441
		// (get) Token: 0x06004A26 RID: 18982 RVA: 0x000CBF65 File Offset: 0x000CA165
		// (set) Token: 0x06004A27 RID: 18983 RVA: 0x000CBF6D File Offset: 0x000CA16D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x06004A28 RID: 18984 RVA: 0x000CBF76 File Offset: 0x000CA176
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetChallengeGroupStatisticsCsReq);
		}

		// Token: 0x06004A29 RID: 18985 RVA: 0x000CBF84 File Offset: 0x000CA184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetChallengeGroupStatisticsCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004A2A RID: 18986 RVA: 0x000CBFB4 File Offset: 0x000CA1B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004A2B RID: 18987 RVA: 0x000CBFF3 File Offset: 0x000CA1F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004A2C RID: 18988 RVA: 0x000CBFFB File Offset: 0x000CA1FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004A2D RID: 18989 RVA: 0x000CC004 File Offset: 0x000CA204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004A2E RID: 18990 RVA: 0x000CC038 File Offset: 0x000CA238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004A2F RID: 18991 RVA: 0x000CC076 File Offset: 0x000CA276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetChallengeGroupStatisticsCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004A30 RID: 18992 RVA: 0x000CC0A7 File Offset: 0x000CA2A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004A31 RID: 18993 RVA: 0x000CC0B0 File Offset: 0x000CA2B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001D7B RID: 7547
		private static readonly MessageParser<GetChallengeGroupStatisticsCsReq> _parser = new MessageParser<GetChallengeGroupStatisticsCsReq>(() => new GetChallengeGroupStatisticsCsReq());

		// Token: 0x04001D7C RID: 7548
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001D7D RID: 7549
		public const int GroupIdFieldNumber = 5;

		// Token: 0x04001D7E RID: 7550
		private uint groupId_;
	}
}
